<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page isELIgnored="false" %>
<!doctype html>
<html lang="en">
<head>
    <title>学生</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <link href="/layui/css/layui.css" rel="stylesheet" type="text/css"/>
    <link href="/css/a.css" rel="stylesheet" type="text/css"/>
</head>
<style>
    .layui-table-cell {
        height: auto !important;
        /*margin-left: -11px;*/
    }

    .layui-table img {
        margin-left: -11px;

    }
</style>
<body>
<div>
    <div style="margin-left: 10px;margin-top: 15px">
        <a href="/模板.xlsx" class="layui-btn" style="margin-left: 0px;text-decoration:none">
            模板下载
        </a>
        <button type="button" class="layui-btn layui-btn-normal" id="test8"
                style="margin-left: 0px">选择文件
        </button>
        <button type="button" class="layui-btn" id="test9" style="margin-left: 0px">点击导入
        </button>
        <a href="/export" class="layui-btn" id="down" style="margin-left: 0px;text-decoration:none">
            全部导出
        </a>

        <button type="button" class="layui-btn" id="insert" style="margin-left: 0px">添加
        </button>
    </div>
    <div class="layui-form-item" style="margin-top: 15px">
        <label class="layui-form-label" style="margin-left: -22px">姓名</label>
        <div class="layui-input-inline">
            <input type="text" name="name" lay-verify="" placeholder="请输入"
                   autocomplete="off" class="layui-input">
        </div>
        <label class="layui-form-label" style="margin-left: -22px">手机</label>
        <div class="layui-input-inline">
            <input type="text" name="phone" lay-verify="" placeholder="请输入"
                   autocomplete="off" class="layui-input">
        </div>
        <label class="layui-form-label" style="margin-left: -22px">身份证</label>
        <div class="layui-input-inline">
            <input type="text" name="idCard" lay-verify="" placeholder="请输入"
                   autocomplete="off" class="layui-input">
        </div>
        <label class="layui-form-label" style="margin-left: -22px">专业</label>
        <div class="layui-input-inline">
            <input type="text" name="major" lay-verify="" placeholder="请输入"
                   autocomplete="off" class="layui-input">
        </div>
        <button type="button" class="layui-btn" id="select1" style="margin-left: 0px">精确查询
        </button>
        <button type="button" class="layui-btn" id="select2" style="margin-left: 0px">模糊查询
        </button>
        <button type="button" class="layui-btn layui-btn-primary" id="clean">
            <i class="layui-icon">&#xe9aa;</i>
        </button>
    </div>
</div>
<%--数据表格--%>
<div class="list">

    <table class="layui-hide" id="test" lay-filter="test"></table>
</div>


</body>



<script src="/js/jQuery-2.1.4.min.js"></script>
<script src="/layui/layui.all.js"></script>
<%--头部工具栏--%>
<script type="text/html" id="toolbarDemo">
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-sm layui-btn-danger" lay-event="getCheckData">删除本页选中</button>
        <%--        <button class="layui-btn layui-btn-sm layui-btn-danger" lay-event="getCheckData">删除选中</button>--%>
        <button class="layui-btn layui-btn-sm" lay-event="getCheckLength">导出本页选中</button>
        <%--        <button class="layui-btn layui-btn-sm" lay-event="getCheckLength">导出选中</button>--%>
        <%--        <button class="layui-btn layui-btn-sm" lay-event="isAll">验证是否全选</button>--%>
    </div>
</script>
<script src="/js/layuiTable.js"></script>
<%--行工具栏--%>
<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
    <a class="layui-btn layui-btn-xs uppic" lay-event="up">上传</a>
    <%--    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delpic">删除图片</a>--%>
</script>
<script src="/js/student.js"></script>

</html>